<?php

namespace App\Libs;

use Swoole;


/**
 * Created by PhpStorm.
 * User: Byric
 * Date: 5/4/16
 * Time: 6:32 PM
 */
class Log
{

    public static function info($log)
    {
      //  var_dump( Swoole::getInstance()->log);
        Swoole::getInstance()->log->info($log);
    }


    public static function warn($log)
    {
        Swoole::getInstance()->log->warn($log);
    }


    public static function error($log)
    {
        Swoole::getInstance()->log->error($log);
    }
}